//
//  MPTSingleObject.h
//  MPTLive
//
//  Created by caixun on 15/8/13.
//  Copyright (c) 2015年 Jeakin. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MPTObject.h"
#import <UIKit/UIKit.h>
#import <AMapLocationKit/AMapLocationKit.h>
#import <AMapSearchKit/AMapSearchKit.h>


#define MPTSingleObjectInstance [MPTSingleObject sharedInstance]

/// 登录类型
typedef enum : NSUInteger {
    WeBo =0,
    WeXin,
    QQ,
} LoginType;

@interface MPTLiveCustomBtn : UIButton

@property (nonatomic, strong) NSMutableDictionary *paramDic;

@end



@interface MeVideoModel : MPTObject

@property (nonatomic, copy) NSString *videoIcon;
@property (nonatomic, copy) NSString *videoTitle;
@property (nonatomic, copy) NSString *videoTime;
@property (nonatomic, copy) NSString *scid;
@property (nonatomic, copy) NSString *mcnt;
@property (nonatomic, copy) NSString *ucnt;

@end

@interface MPTSingleObject : MPTObject

// 用户当前经纬度
@property (nonatomic) float currentLongitude;
@property (nonatomic) float currentlatitude;
// 用户当前地理位置
@property (nonatomic, copy) NSString *currentLocation;
// 用户写点什么view中textview中的值
@property (nonatomic, copy) NSString *createVideoContent;

@property (nonatomic, strong) AMapLocationManager *locationManager;
@property (nonatomic, strong) AMapSearchAPI *searchAPI;


+ (MPTSingleObject *)sharedInstance;

/**
 *  判断str是否为nil，如果为nil则将该值赋值为@""
 *
 *  @param str
 *
 *  @return 返回处理之后的合法字符
 */
- (NSString *)setStrDefValue:(NSString *)str;


@end
